//
// Created by martin on 9/12/21.
//

#include "filemanager.h"
#include "hashmap.h"

int filemanager_init()
{
    HashMap map = createHashMap(NULL, str_equal);
    map->put(map, "hello", "yes");
    map->put(map, "abc", "111");

    map->remove(map, "hello");
    string val = map->get(map, "hello");
    if (val)
        printf("%s\n", val);
    string val2 = map->get(map, "aaaaa");
    if (val2)
        printf("%s\n", val2);
    freeHashMap(&map);

    return 0;
}